package com.lijie.bs_recruit.model;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijie
 * @since 2021-04-07
 */
@ApiModel(value="Applicants对象", description="")
public class Applicants implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "工作id")
    @TableField("positionId")
      private Integer positionId;

    @ApiModelProperty(value = "用户id")
    @TableField("userId")
    private Integer userId;

    @ApiModelProperty(value = "申请时间")
    @TableField("applicationTime")
    private Date applicationTime;

    @ApiModelProperty(value = "申请类型(主动/被动)")
    @TableField("applicationType")
    private Integer applicationType;

    @ApiModelProperty(value = "是否录用 0未录用 1录用")
    @TableField("isEmploy")
    private Integer isEmploy;

    @TableField(exist = false)
    private Position position;

    @TableField(exist = false)
    private Resume resume;

    @TableField(exist = false)
    private String jobClassify;

    public String getJobClassify() {
        return jobClassify;
    }

    public void setJobClassify(String jobClassify) {
        this.jobClassify = jobClassify;
    }

    public Resume getResume() {
        return resume;
    }

    public void setResume(Resume resume) {
        this.resume = resume;
    }


    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getApplicationTime() {
        return applicationTime;
    }

    public void setApplicationTime(Date applicationTime) {
        this.applicationTime = applicationTime;
    }

    public Integer getApplicationType() {
        return applicationType;
    }

    public void setApplicationType(Integer applicationType) {
        this.applicationType = applicationType;
    }

    public Integer getIsEmploy() {
        return isEmploy;
    }

    public void setIsEmploy(Integer isEmploy) {
        this.isEmploy = isEmploy;
    }

    @Override
    public String toString() {
        return "Applicants{" +
        "positionId=" + positionId +
        ", userId=" + userId +
        ", applicationTime=" + applicationTime +
        ", applicationType=" + applicationType +
        ", isEmploy=" + isEmploy +
        "}";
    }
}
